LIBDIR=lib
INCLUDEDIR=include/cvblobs

all: make_directories lib/libblob.a

lib/libblob.a:
	cd src; make; cp libblob.a ../$(LIBDIR)/; cp *.h ../$(INCLUDEDIR)/

make_directories: $(LIBDIR)/ $(INCLUDEDIR)/

clean:
	cd src; make clean
